{tpl head}
<script charset="utf-8" src="kedit/kindeditor-min.js"></script>
<script type="text/javascript">
    var editor;
    KindEditor.ready(function(K) {
        editor = K.create('textarea[name="content"]', {uploadJson: 'kdupload.php?yeslitpic=1',filterMode:false,width:'99%',height:'500px'});
        //给按钮添加click事件
    });
    $(function(){
        $(".nav a").click(function(){
            $(this).addClass("current").siblings().removeClass("current");
            $(".new_table").eq($(this).index()).removeClass("hidden").siblings(".new_table").addClass("hidden");

        });
        $("#set").click(function(){
            $(".hidden").show("slow");
        });
    });
</script>

<script language="javascript" type="text/javascript" src="{$skin}js/My97DatePicker/WdatePicker.js"></script>

<form method="Post" enctype="multipart/form-data" action="?c={$classname}" name="k_form">
    <table class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
            <thead><tr class="n_bt"><td colspan="2" align="center">工作小助手管理系统</td></tr>
            <tr><th height="28" colspan="2" class="thbt">【{$title}】</th></tr>
            </thead>
        <tbody>
        <tr>
            <td height="30" align="right">设备名称：</td>
            <td><input type="hidden" name="MAX_FILE_SIZE" value="2000000">

                <input type=file name=upfile size=20></td>
        </tr>

        <tr>
            <td height="35" colspan="2" align="center" ><input name="into_wz" id="submit" class="button" type="submit" value="{$submit}" />
                &nbsp;<input name="res" type="reset" class="button" value="重置" />
                <input name="id" type="hidden" value="{$oj.id}" />
                <input type="hidden" name="a" value="{$form_action}" />
            </td>
        </tr>
</tbody>
        </table>
</form>
{tpl foot}